Converts this instance to a read only typed buffer.
public ToArray<>()
where T: new(), struct
'Declaration
Public Overloads Function ToArray(Of As {New, Struct})() As
Type Parameters
- T
- Type of a buffer element
Return Value
A readonly typed buffer.
Exception | Description |
System.InvalidOperationException | DataPointer is Zero |